package com.spark.lola.entity.sup;

import com.baomidou.mybatisplus.annotation.TableName;
import com.spark.lola.support.mybatis.entity.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dengyejun
 * @since 2020-04-24
 */
@TableName("sup_resource")
@ApiModel(value="Resource对象", description="")
public class Resource extends BaseModel implements Serializable {
    private static final long serialVersionUID=1L;
    public Resource(){}
        private Long parentId;

        private String name;

        private String node;

        private String controller;

        private String action;

        private Integer footer;

        private Integer sort;

        private String icon;


    
    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public String getNode() {
        return node;
    }

    public void setNode(String node) {
        this.node = node;
    }
    
    public String getController() {
        return controller;
    }

    public void setController(String controller) {
        this.controller = controller;
    }
    
    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }
    
    public Integer getFooter() {
        return footer;
    }

    public void setFooter(Integer footer) {
        this.footer = footer;
    }
    
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    
    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    @Override
    public String toString() {
        return "Resource{" +
            "parentId=" + parentId +
            ", name=" + name +
            ", node=" + node +
            ", controller=" + controller +
            ", action=" + action +
            ", footer=" + footer +
            ", sort=" + sort +
            ", icon=" + icon +
        "}";
    }
}
